﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace WCF_CM
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IGroupAttrib" in both code and config file together.
    [ServiceContract]
    public interface IGroupAttribService
    {
        [OperationContract]
        public string AssignAttribToGroups(Attrib attribName, Group Groups);

        [OperationContract]
        public string AssignValueToGroup(int Value, Group Groups);

        [OperationContract]
        public List<GroupAttribService> GetGroupAttribs();

        [OperationContract]
        public void DisplayAttributesOfGroups();

        [OperationContract]
        public void DisplayAttributes();

        [OperationContract]
        public string AddRows();

        [OperationContract]
        public string UpdateRecords();


    }
}
